<?php

/*

*/

class discusModel extends Model
{
	private $tb='discus';


	public function getusrdiscus($uid)
	{
		$sql="select * from $this->tb where id in(select did from discus_member where uid=$uid)";
		return $this->db->getAll($sql);
	}
}